#include<iostream>

using namespace std;

int main()
{
    int c;
    cin >> c;
    cout << "Celsius = "<< 5 * (c - 32) / 9 << endl;
    return 0;
}